import java.util.LinkedList;

/**
 * @author : zzr
 * @description :测试用链表实现栈
 * @date :
 */
public class Test7 {
    public static void main(String[] args) {
        LinkedList<Integer> stack = new LinkedList<>();
        stack.push(1);
        stack.push(2);
        stack.push(3);
        System.out.println(stack.peek());
    }
}
